package com.chixing.service;

import com.chixing.pojo.Customer;
import com.chixing.pojo.MyOrder;
import com.chixing.util.ServerResponse;

/**
 * @author Wesley
 * @version 1.0
 * @date 2021/10/5 13:52
 */
public interface MyOrderService {
    public ServerResponse getById(Integer orderId);
    public ServerResponse getByOrderId(Integer myOrderId);
    public ServerResponse getCustomerOrder(Integer custId,Integer status,Integer pageNum);
    public ServerResponse saveMyOrder(MyOrder myOrder);
    public ServerResponse getMyOrderStoreCar(Integer MyOrderId);
    public MyOrder getByOrderNumber(Long orderNumber);
    //保存订单信息
    public ServerResponse saveMyOrderInformation(MyOrder myOrder);
    //修改用户信息
    public ServerResponse updateCustomer(Customer customer);
    //修改订单状态
    ServerResponse updateOrderStatus4(MyOrder myOrder);
    ServerResponse updateOrderStatus2(MyOrder myOrder);
     // 第一次消息推送
    public void firstPush(MyOrder myOrder);
    Integer getCouponId(Integer myOrderId);
}
